/**
    网站样式
*/

/* 
    base 首尾样式
*/

#header {
    position: fixed;

    line-height: 50px;
    /*background-color: red;*/
    width: 100%;

}
#header nav {
    min-height: 60px;
    /*background-color: orange;*/
}
#header .logo {
    width: 50px;
    float: left;
    margin-left: 2%;
}
.header-ul {
    float: right;
    margin-right: 1%;
}
.header-ul li a {
    color: white;
}
#header .navbar .header-ul li{
    float: left;
    color: white;
    margin-right: 10px;
}
#header .navbar .logo-bg a img{
    background: white;
    border-radius: 50%;
    margin-top: 5px;
}
#go_top {
    position: fixed;
    top: 70%;
    right: 2%;
    width: 50px;
    height: 50px;
    background-image: url('/static/img/top.png');
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 99;
}

#footer {
    position: relative;
    left: 0px;
    /*top: 10px;*/
    background-color: black;
}
#footer div[class=container] {
    min-height: 80px;
    min-width: 100%;

}
#footer .container ul {
    position: relative;
    top: 20px;
    margin: 0 auto;
    margin-left: 20%;
}
#footer .container ul li {
    margin-left: 2%;
}
#footer .container ul li a {
    font-size: 12px;
    color: gray;
}

/**
    index 样式
*/

.content{
    min-height: 450px;
    width: 100%;
    background-image: url('/static/img/book.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.inner {
    margin: 0 auto;
    height: 30%;
    position: relative;
    top: 100px;
    color: white;
}
.introduce {
    height: 200px;
    width: 60%;
    /*position: relative;*/
    margin-left: 30%;
    /*background-color: blue;*/
}
.introduce h4 {
    font-size: 30px;
}
.introduce ol li {
    color: orange;
    margin-left: 30px;
}

#search {
    width: 50%;
    height: 4em;
    position: relative;
    top: 50%;
    left: 25%;
    border-radius: 5px;
    box-shadow: 2px 2px 20px 2px green;
    text-align: center;
}
.lower {
    width: 100%;
    min-height: 600px;
    background: linear-gradient(to bottom,#ffecd2 0%,#84fab0 100%);
}
.lower .speedy {
    width: 100%;
    height: 70px;
    background: linear-gradient(to bottom,#ffecd1 0%,#ffecd2 100%);
}
.lower .speedy p {
    margin-left: 15%;
    font-size: 13px;
    display: inline-block;
}
.lower .speedy ul {
    margin-left: 20%;
    margin-top: -17px;
    font-size: 12px;
    width: 80%;
    height: 50px;
}
.lower .speedy ul li {
    border: 0.5px solid gray;
    border-radius: 5px;
    line-height: 20px;
    text-align: center;
    float: left;
    margin-left: 10px;
    min-width: 40px;
    width: auto;
    height: 20px;
    padding: 5px;
    background: radial-gradient(rgba(100, 255, 242, 0.8), white);
    cursor: pointer;
    /*background-size: cover;*/
}

.lower #books {
    widows: 100%;
    height: auto;
    min-height: 600px;  
    height: auto;
    overflow: hidden;
    /*background: white;*/

}
/*.lower .speedy ul li:nth-child(1){
    background-image: url('/static/img/li-1.png');
}
.lower .speedy ul li:nth-child(2){
    background-image: url('/static/img/li-2.png');
}
.lower .speedy ul li:nth-child(3){
    background-image: url('/static/img/li-3.png');
}
.lower .speedy ul li:nth-child(4){
    background-image: url('/static/img/li-4.png');
}
.lower .speedy ul li:nth-child(5){
    background-image: url('/static/img/li-5.png');
}
*/
.class_list {
    margin-top: 10px;
}
.class_list .bottom {
    width: 100%;
    height: 50px;
    font-size: 12px;
    text-align: center;
    line-height: 50px;
    color: gray;
}

.book {
    width: 100%;
    min-height: 70px;
    padding-top: 10px; 
    box-shadow: 2px 2px 3px gray;
    height: auto;
}
.book .index_bookinfo {
    float: left;
    width: 25%;
    height: 80px;
    padding-left: 50px;
    /*background-color: red;*/

}
.book .index_bookinfo a {
    font-size: 18px;
    font-weight: 700px;
    color: #3B3B3B;
    font-family: 'STXingkai';
    text-decoration: none;
}
.book .index_bookinfo a:hover {
    text-decoration: underline;
}
.book .index_bookinfo .author {
    font-size: 14px;
    font-family: '楷体';
}
.book .describe {
    width: 90%;
    height: 80px;
    font-size: 13px;
    color: gray;
    /*background-color: green;*/
}
.wrap .progress  {
    font-size: 12px;
}

/*.book .state {
    position: relative;
    top: 10px;
    left: 30%;
    font-size: 12px;
    color: gray;
}
.book .state button {
    width: 16px;
    height: 16px;
    background-image: url('/static/img/heart.png');
    background-repeat: no-repeat;
    background-size: cover;
    border: none;
}*/

/*
    book.html 展示图书的页面样式
*/

.wrapper {
    width: 100%;
    min-height: 700px;
    background: linear-gradient(to top, #e2d1c3, #fef9d7);
}
.perch {
    width: 100%;
    height: 50px;
}
.book_con {
    width: 80%;
    position: relative;
    left: 10%;
}
.book_con .wrap{
    min-height: 250px;
    border: 3px solid rgb(136,198,229);
}

.book_con .wrap .slot {
    width: 100%;
    height: 40px;
    border-bottom: 1px solid rgb(136,198,229);
}
.book_con .wrap .slot ul li {
    font-size: 12px;
    line-height: 40px;
}
.cover {
    width: 150px;
    height: 200px;
    /*background-color: red;*/
    text-align: center;
    float: left;
    /*margin-top: 10px;*/
}
.cover img {
    width: 130px;
    height: 170px;
    margin-top: 15px;
    line-height: 200px;
    box-shadow: 10px 10px 20px gray;
}
.bookinfo {
    /*float: right;*/
    width: 930px;
    height: 80px;
    margin-left: 160px;
    /*background: green;*/
    border-bottom: 1px dashed orange;
    padding-top: 23px;
}
.bookinfo .author {
    margin-top: 20px;
}
.bookinfo ul {
    margin-left: 200px;
    margin-top: -20px;
}
.bookinfo ul li {
    margin-left: 10px;
    font-size: 15px;
    cursor: pointer;
}
.bookinfo ul li a {
    color: orange;
}
/* 操作点击过后的样式 */
.bookinfo ul li .poin_after {
    color: gray;
    cursor: text;
}
.desc {
    /*background: red;*/
    width: 900px;
    height: 80px;
    padding-top: 20px;
    padding-left: 20px;
    margin-left: 160px;
    font-size: 13px;
    font-family: sb;
}
.book_con .list {
    margin-top: 20px;
    border: 3px solid rgb(136,198,229);
}
.book_con .list dl{
    min-height: 200px;
    height: auto;
    overflow: hidden;
}
.book_con .list dl dt {
    width: 100%;
    height: 30px;
    line-height: 30px;
    background-color: rgb(195,223,234);
    /*background-color: gray;*/
    opacity: 0.7;
}
.book_con .list dl dd{
    display: inline;
    line-height: 250%;
    vertical-align: middle;
    float: left;
    width: 33%;
    margin-left: 0.1%;
    margin-top: 0.4%;
    border-bottom: 0.5px dashed white;
    font-size: 12px;
    text-align: left;
    height: 40px;
    overflow: hidden;
    padding-left: 2px;
    /*font-family: 'STXingkai';*/
}
.book_con .list dl dd a {
    overflow: hidden;
    color: black;
}

/* login.html 页面css配置*/
#login-body{
    background-image: url('/static/img/login-bg-min-autumn.jpg');
    /* 背景图片设置*/
    background-repeat: no-repeat;
    /* 设置背景图片的位置*/
    background-position: 0px -500px;
    /* 设置背景图片的大小*/
    background-size:cover;
    animation: background-roll 20s linear 0s 1 alternate;

}
.login-title-text{
    color: white;
    margin-top: 20px;
}
#login-form{
    width: 400px;
    height: 500px;
    position: absolute;
    top: 80px;
    right: 100px;
    border: 1px solid white;
}
.avatar{
    /*用户头像*/
    width: 100px;
    height: 100px;

    margin-top: 30px;
    margin-left: 40%;
    margin-bottom: 30px;

    border-radius: 50%;
}
#login-form form input{

    width: 25em;
    height: 3em;

    border: 1px solid white;
    box-shadow: 1px 1px 1px 1px black;
    border-radius: 20px;
    background: none;
    color: #D1D1D1;
    margin-left: 5%;
    margin-top: 20px;
    outline: none;
    padding-left: 20px;
}
/* input 元素获得焦点时的样式*/
    
#login-form form input[type=submit]{
    margin-top: 50px;
    background-color: SkyBlue;
}
#login-form form img[class=login-code]{
    padding-top: 20px;
    height: 2.4em;
    border-radius: 0 10px 0 10px;
}
.adduser {
    color: gray;
    margin-left: 50%;
}
.adduser a{
    text-decoration-line: none;
    color: orange;
}

@keyframes background-roll
{
    from { background-position: 0 -100px; }
    25% {background-position: 0 -200px;}
    50%{background-position: 0 -300px;}
    75% {background-position: 0 -400px;}
    to {background-position: 0 -500px;}
}

/*
    不同分辨率样式布局，移动端响应
*/
@media screen and (max-width:900px) {
        .desc ol, .desc p{
            display: none;
            }
}

@media screen and (max-width: 400px) {

    .content{
        min-height: 50px;
        width: 100%;
        background-image: url('/static/img/book.gif');
    }
    .inner {
        top: 100px;
    }
    .desc {
        height: 200px;
        margin-left: 30%;
    }
    .desc h4 {
        font-size: 15px;
    }
    #search {
        width: 60%;
        left: 20%;
        height: 3em;
        top: -150px;
        box-shadow: 2px 2px 20px 2px green;
        text-align: center;
    }
    .lower {
        width: 100%;
        min-height: 400px;
    }
    .lower .speedy ul {
        margin-left: 15%;
    }
    .lower .speedy ul li {
        margin-left: 8%;
        width: 20px;
        height: 20px;
    }
}